package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 乘客行程取消原因记录表
 * </p>
 *
 * @author Dell
 * @since 2021-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "CustomerCancelReasonLog对象", description = "乘客行程取消原因记录表")
public class CustomerCancelReasonLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "乘客id")
    private Long customerId;

    @ApiModelProperty(value = "行程id")
    private Long rideId;

    @ApiModelProperty(value = "取消的id")
    private Long cancelId;

    @ApiModelProperty(value = "乘客取消原因短语表的id")
    private Long refId;

    @ApiModelProperty(value = "取消的原因")
    private String reason;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;


}
